﻿using SnakeShop.Model.Entities;
using SnakeShop.Model.FromBody;
using SnakeShop.Model.ViewModels.UI;

namespace SnakeShop.IService
{
    public interface ICoreCmsUserServices : IBaseServices<CoreCmsUser>
    {

        /// <summary>
        /// 更新余额
        /// </summary>
        /// <param name="id"></param>
        /// <param name="money"></param>
        /// <returns></returns>
        Task<AdminUiCallBack> UpdateBalance(int id, decimal money);


        /// <summary>
        /// 更想几分
        /// </summary>
        /// <param name="entity"></param>
        /// <returns></returns>
        Task<AdminUiCallBack> UpdatePoint(FMUpdateUserPoint entity);



    }
}
